<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="shortcut icon" type="image/x-icon" href="../../favicon.ico"/>
    <link rel="stylesheet" href="../../layui-admin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../layui-admin/style/admin.css" media="all">
    <link rel="stylesheet" href="../../layui-admin/style/template.css" media="all">
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header">已经加载100条结果，当前显示1-12条</div>
        <div class="layui-card-body">
            <div class="layui-row layui-col-space30">
                <div class="layui-col-xs12">
                    <div id="search-page1"></div>
                </div>
                <script type="text/html" template>
                    {{# layui.each(cdc.data, function(index, item){ }}
                    <div class="layui-col-md2 layui-col-sm4 layui-col-xs6">
                        <div class="cmdlist-container">
                            <a lay-href="show.html?id={{ index }}" lay-text="{{ item.姓名 }} {{ item.身份证号码 }}">
                                <img src="img/{{ index }}.jpg" height="150">
                                <div class="cmdlist-text">
                                    <h3 class="layadmin-title">
                                        <strong>{{ item.姓名 }}</strong>
                                    </h3>
                                    <p class="layadmin-textimg layui-elip">
                                        <a lay-tips="{{ item.身份证号码 }}">{{ item.身份证号码 }}</a>
                                    </p>
                                    <p class="layadmin-textimg layui-elip">
                                        <a lay-tips="{{ item.户籍地址详址 }}">
                                            <i class="layui-icon layui-icon-location"></i>
                                            {{ item.户籍地址详址 }}
                                        </a>
                                    </p>
                                </div>
                            </a>
                        </div>
                    </div>
                    {{# }); }}
                </script>
                <div class="layui-col-xs12">
                    <div id="search-page2"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../../layui-admin/layui/layui.js"></script>
<script src="js/cdc.data.js"></script>
<script>
    layui.config({
        base: '../../layui-admin/'
    }).extend({
        index: 'lib/index'
    }).use(['index'], function () {
        const laypage = layui.laypage;
        laypage.render({
            elem: 'search-page1'
            , count: 100
        });
        laypage.render({
            elem: 'search-page2'
            , count: 100
        });
    });
</script>
</body>
</html>
